/**
 * 订单状态枚举
 * @type {[{value: number, label: string},{value: number, label: string},{value: number, label: string},{value: number, label: string},{value: number, label: string},null,null]}
 */
export const OrderStatusEnum = {
    pendingPayment: {
        value: 1,
        label: '待付款'
    },
    toBeShipped: {
        value: 2,
        label: '待发货'
    },
    Shipped: {
        value: 3,
        label: '已发货'
    },
    waitPickup: {
        value: 4,
        label: '待自提'
    },
    success: {
        value: 5,
        label: '已完成'
    },
    cancel: {
        value: 6,
        label: '已取消'
    },
    afterSales: {
        value: 7,
        label: '售后'
    }
}

/**
 * 配送方式枚举
 * @type {[{value: number, label: string},{value: number, label: string},{value: number, label: string},{value: number, label: string},{value: number, label: string},null,null]}
 */
export const DeliveryMethodEnum = {
    pickup: {
        value: '1',
        label: '自提'
    },
    express: {
        value: '2',
        label: '快递'
    }
}

// 商品状态:1=已签收，2=未签收
export const RefundStatusEnum = {
    signed: {
        value: 1,
        label: '已签收'
    },
    notSigned: {
        value: 2,
        label: '未签收'
    }
}
